package com.nervenets.shopping.controller.role.params;

import com.nervenets.general.web.params.Params;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.SuperBuilder;

import javax.validation.constraints.Positive;

@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
public class RoleChildrenParams implements Params {
    @ApiModelProperty(value = "权限父级ID", required = true)
    @Positive(message = "权限父级ID不能为空")
    private long roleParentId;
}
